Frames alternative?
am 20.08.2007 12:08:17 von UKuserIs there a way that I can load a page within a page and still have
cookies/javascript etc working?
This is my code thus far:
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
title="Main style" />
title="Main style" />
$content = file_get_contents("http://$site"); // where site is a
www.anyname.com
echo $content;
?>
This will load the page, but as text and/or disable any cookies or
javascript and thus showing the user any external error pages asking
for cookies to be enabled.
I've tried standard iframes and frames but in IE these have cookies/
javascript disabled. I'm trying to find a PHP 100% equivilent to
frames.
Thanks
A